
{% extends "accounts/ProfileBase.html" %}

{% block profile %}

<script>
    $(document).ready(function(){
        $("#profile_password").attr("class", "active");
    })
</script>

<div class="session-form alt">
    <form accept-charset="UTF-8" action="/accounts/password/change/" class="gen-form" enctype="multipart/form-data" id="edit_user_380541" method="post">

        {% csrf_token %}
        <fieldset>
            <label for="old_password">旧密码</label>
            <input id="user_old_password" name="old_password" size="30" type="password">
        </fieldset>

        <fieldset>
            <label for="password">新密码</label>
            <input id="user_password" name="new_password1" size="30" type="password">
            <p class="message">至少6个字</p>
        </fieldset>

        <fieldset>
            <label for="password">确认新密码</label>
            <input id="user_password" name="new_password2" size="30" type="password">
            <p class="message">请再次输入新密码</p>
        </fieldset>

        <div class="form-btns">
            <input class="form-sub" name="commit" value="保存" type="submit">
        </div>
    </form>	
</div>

{% endblock %}
